home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
comm
/
irc
/
GetMODinfo.lha
/
GetMODinfo.AMIRX
next >
Wrap
Text File
|
1999-02-16
|
653b
|
24 lines
/* AmIRC GetMODinfo by CoBaLt60. */
/* Cosmetic changes and docs by Firebird^ */
/* Get info from DelitrackerII or HippoPlayer */
/* This script goes in your AmIRC/REXX directory. */
parse arg localonly /* ANY argument given will make the script echo locally, not to the channel */
options results
tmp='t:.getmodinfo.amirx'
address command rx' >'tmp modinfo.rexx localonly
call open(f1,tmp,r)
do until eof(f1)
text=readln(f1)
if text~='' then do
if localonly='' then 'say /me is playing 'text
else 'echo P='d2c(27)'b«ModInfo» 'text
end
end
call close(f1)
address command 'delete 'tmp' quiet'
exit